{#<!DOCTYPE html>#}
{#<html lang="en">#}
{#<head>#}
{#    <meta charset="UTF-8">#}
{#    <title>Title</title>#}
{#</head>#}
{#<body>#}
{#<form action="" method="post">#}
{#{% csrf_token %}#}
{#    <p>实验室：<input type="text" name="c_name"  value="{{ret.name}}"><span>{{ k }}</span></p>#}
{#    <p>楼层：<input type="text" name="storey"  value="{{ret.storey}}"><span>{{ k }}</span></p>#}
{#    <p>房间号：<input type="text" name="room"  value="{{ret.room}}"><span>{{ k }}</span></p>#}
{#    <p>负责人：<select name="ass_id" id="" >#}
{#        {% for foo in ret_user %}#}
{#            {% if foo == ret.person %}#}
{#                <option value="{{ foo.pk }}" selected >{{ foo.name }}</option>#}
{#                {% else %}#}
{#                <option value="{{ foo.pk }}" >{{ foo.name }}</option>#}
{#             {% endif %}#}
{#        {% endfor %}#}
{##}
{#    </select></p>#}
{#    <button >编辑</button>#}
{#</form>#}
{#</body>#}
{#</html>#}
{##}
{##}
{##}






{% extends 'muban.html' %}


{% block lis %}

<form action="" method="post">
{% csrf_token %}
    <p>实验室：<input type="text" name="c_name"  value="{{ret.name}}"><span>{{ k }}</span></p>
    <p>楼层：<input type="text" name="storey"  value="{{ret.storey}}"><span>{{ k1 }}</span></p>
    <p>房间号：<input type="text" name="room"  value="{{ret.room}}"><span>{{ k2 }}</span></p>
    <p>负责人：<select name="ass_id" id="" >
        {% for foo in ret_user %}
            {% if foo == ret.person %}
                <option value="{{ foo.pk }}" selected >{{ foo.name }}</option>
                {% else %}
                <option value="{{ foo.pk }}" >{{ foo.name }}</option>
             {% endif %}
        {% endfor %}

    </select><span></span></p>
    <button >编辑</button>
</form>

{% endblock %}

{% block i3 %}
    class='active'
{% endblock %}
